<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<title>新增会员 -- Powered by CentIMS {$core_version}</title>
		<link href="{'bootstrap/css/bootstrap.css'|shared}" rel="stylesheet"/>
		<link href="{'bootstrap/css/bootstrap-responsive.css'|shared}" rel="stylesheet"/>
		<link href="{'common.css'|shared}" rel="stylesheet"/>
		{'vip_form_head'|fire}
	</head>
	<body>
		<div class="workspace">
			<ul class="nav nav-tabs">
				<li>&nbsp;&nbsp;</li>	
			    <li><a href="./"><i class="icon-user"></i>会员列表</a></li>
			    <li><a href="./?Ctlr=AddVip"><i class="icon-plus"></i>新增会员</a></li>			    
			    <li class="active"><a href="#"><i class="icon-edit"></i>编辑会员</a></li>
		    </ul>
		    {if $page_tip_info}
		    <div class="alert {$alert_cls}">
		        <button class="close" data-dismiss="alert">×</button>
		        {$page_tip_info}
	      	</div>
	      	{/if}
		</div>
		<div class="workspace" style="margin:0 15px;">
				<div class="tabbable tabs-left">
					<ul class="nav nav-tabs" style="min-height:385px;">
						<li>&nbsp;</li>
					{foreach $vip_groups as $item}
						<li class="{if $item@key == $group}active{/if}">
							<a href="./?Ctlr=EditVip&uid={$uid}&group={$item@key}">{$item}</a>
						</li>
					{/foreach}
					</ul>
	                <div class="tab-content" style="padding-top:10px;">	                	
	                	<div id="tabc-{$group}" class="tab-pane active">
	                		{if $editvip_tpl}
	                			{include file=$editvip_tpl}
	                		{/if} 
	                	</div>	                	
	                </div>
	          	</div>
		</div>
		<script type="text/javascript" src="{'jquery-1.7.1.js'|jquery}"></script>
		<script type="text/javascript" src="{'bootstrap/bootstrap.js'|shared}"></script>
		<script type="text/javascript" src="{'plugins/jquery.validate.js'|jquery}"></script>
		<script type="text/javascript" src="vip_form.js"></script>
		{'vip_form_foot'|fire}
	</body>
</html>